Part Number Hot Search : 
12007 51210 SK110B A106M K1300S CM142 D8G0717N 2SA107
Product Description
Full Text Search
 

To Download ALC203 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ALC203 ALC203-lf two-channel ac?97 2.3 audio codec datasheet rev. 1.6 28 april 2006 realtek semiconductor corp. no. 2, innovation road ii, hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-577-6047 www.realtek.com.tw www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 ii copyright ?2006 realtek semiconductor corp. all rights reserve d. no part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permission of realtek semiconductor corp. disclaimer realtek provides this document ?as is?, without wa rranty of any kind, neither expressed nor implied, including, but not limited to, the particular purpose. realtek may make improvements and/or changes in this document or in the product described in this document at any time. this document could include technical inaccuracies or typographical errors. trademarks realtek is a trademark of realtek semiconductor co rporation. other names mentioned in this document are trademarks/registered trademarks of their respective owners. confidentiality this document is confidential and should not be provide d to a third-party without the permission of realtek semiconductor corporation. using this document this document is intended for the software engineer?s reference and provides detailed programming information. though every effort has been made to ensure that this document is current and accurate, more information may have become available subsequent to the producti on of this guide. in that event, please contact your realtek representative for additional information that may help in the development process. revision history revision release date summary 1.00 2003/06/10 first release. 1.10 2003/05/30 1.pin-45 is re-defined as a jack-detect (jd0). 1.20 2003/08/06 1.digital data path in section 3-2. 1.30 2003/10/24 add ordering information. 1.40 2005/03/14 add lead (pb)-free and version package identification information on page 4 and on page 48. 1.50 2005/12/05 update section 6.1.12 mx1a record select, page 12. update section 12. ordering information, page 48. 1.60 2006/04/28 add a note to, and change susceptibility voltage data in section 7.1.1 absolute maximum ratings, page 27. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 iii table of contents 1. general de scription ......................................................................................................... ......................................... 1 2. features .................................................................................................................... ......................................................... 1 3. block diagram ............................................................................................................... ................................................ 2 3.1 a nalog m ixer b lock ............................................................................................................................... ........................ 2 3.2 d igital d ata p ath ............................................................................................................................... ............................. 3 4. pin assignments............................................................................................................. ................................................. 4 4.1 l ead (p b )-f ree p ackage and v ersion i dentification ................................................................................................. 4 5. pin description............................................................................................................. .................................................. 5 5.1 d igital i/o p ins ............................................................................................................................... .................................. 5 5.2 a nalog i/o p ins ............................................................................................................................... ................................. 6 5.3 f ilter /r eference /nc ............................................................................................................................ ........................... 6 5.4 p ower /g round ............................................................................................................................... ................................... 6 6. registers................................................................................................................... ......................................................... 7 6.1 m ixer r egisters ............................................................................................................................... ................................. 7 6.1.1 mx00 reset ............................................................................................................... ................................................... 8 6.1.2 mx02 master volume ....................................................................................................... ........................................... 8 6.1.3 mx04 headphone ............................................................................................................................... ........................... 8 6.1.4 mx06 mono_out volume..................................................................................................... ................................... 9 6.1.5 mx0a pc beep volume ...................................................................................................... ....................................... 9 6.1.6 mx0c phone volume........................................................................................................ ........................................ 9 6.1.7 mx0e mic volume.......................................................................................................... .......................................... 10 6.1.8 mx10 line_in volume ...................................................................................................... ....................................... 10 6.1.9 mx12 cd volume ........................................................................................................... ........................................... 10 6.1.10 mx16 aux volume......................................................................................................... ......................................... 11 6.1.11 mx18 pcm_out volume ..................................................................................................... .................................. 11 6.1.12 mx1a record select ...................................................................................................... .......................................... 12 6.1.13 mx1c record gain for stereo adc......................................................................................... ............................... 12 6.1.14 mx1e record gain for mic adc............................................................................................ ............................... 13 6.1.15 mx20 general purpose register ........................................................................................... .................................. 13 6.1.16 mx22 3d control ......................................................................................................... ........................................... 13 6.1.17 mx24 audio in terrupt and paging......................................................................................... .................................. 14 6.1.18 mx26 powerdown control/status ........................................................................................... ................................ 15 6.1.19 mx28 extended audio id .................................................................................................. ...................................... 16 6.1.20 mx2a extended audio status and control, ................................................................................................................ 17 6.1.21 mx2c pc m dac rate ....................................................................................................... ..................................... 18 6.1.22 mx32 pcm adc rate ....................................................................................................... ...................................... 18 6.1.23 mx3a s/pdif out channel status/control ............................................................................................................... 19 6.2 v endor d efined r egisters (p age -00 h ) ........................................................................................................................ 20 6.2.1 page -0h, mx60 s/pd if in status [15:0] ................................................................................... .............................. 20 6.2.2 page -0h, mx62 s/pd if in status [29:15] .................................................................................. ............................. 20 6.2.3 page -0h, mx6a data flow control ......................................................................................... ................................ 20 6.3 d iscovery d escriptor (p age id-01 h ) .......................................................................................................................... 21 6.3.1 page -1h, mx62 pci sub system id......................................................................................... ................................. 21 6.3.2 page -1h, mx64 pci sub vendor id......................................................................................... ................................ 21 6.3.3 page -1h, mx66 sense function select ..................................................................................... ................................ 22 6.3.4 page -1h, mx68 sense function............................................................................................ .................................... 22 6.3.5 page -1h, mx6a sense detail.............................................................................................. ...................................... 23 6.4 e xtension r egisters ............................................................................................................................... ....................... 24 6.4.1 mx76 gpio & interrupt setup .............................................................................................. .................................... 24 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 iv 6.4.2 mx78 gpio & interrupt status ............................................................................................. .................................... 25 6.4.3 mx7a misce llaneous control............................................................................................... ..................................... 26 6.4.4 mx7c vendor id1 .......................................................................................................... ........................................... 26 6.4.5 mx7e vendor id2 .......................................................................................................... ........................................... 26 7. electrical characteristics .................................................................................................. ............................ 27 7.1 dc c haracteristics ............................................................................................................................... ........................ 27 7.1.1 absolute maximum ratings ................................................................................................. ...................................... 27 7.1.2 threshold hold voltage................................................................................................... .......................................... 27 7.1.3 digital filter characteristics........................................................................................... .......................................... 27 7.1.4 s/pdif output characteristics............................................................................................ ....................................... 28 7.2 ac t iming c haracteristics ............................................................................................................................... ........... 28 7.2.1 cold reset ............................................................................................................... ................................................... 28 7.2.2 warm reset ............................................................................................................... ................................................. 28 7.2.3 ac-link clocks ........................................................................................................... ............................................... 29 7.2.4 data output and input timing............................................................................................. ...................................... 29 7.2.5 signal rise and fall timing.............................................................................................. ......................................... 30 7.2.6 ac-link low power mode timing ............................................................................................ ................................ 30 7.2.7 ate test mode............................................................................................................ ............................................... 31 7.2.8 ac-link io pin capacitance and loading................................................................................... ............................. 31 7.2.9 spdif output ............................................................................................................. ............................................... 31 8. analog performance characteristics.......................................................................................... ............. 32 9. design suggestions.......................................................................................................... .......................................... 34 9.1 c locking ............................................................................................................................... ........................................... 34 9.2 ac-l ink ............................................................................................................................... ............................................. 35 9.3 r eset ............................................................................................................................... ................................................. 36 9.4 cd i nput ............................................................................................................................... ............................................ 36 9.5 o dd a ddressed r egister a ccess ............................................................................................................................... .. 36 9.6 p ower - down m ode ............................................................................................................................... .......................... 36 9.7 t est m ode ............................................................................................................................... ......................................... 36 9.7.1 ate in circuit test mode ................................................................................................. ......................................... 36 9.7.2 vendor specific test mode ................................................................................................ ........................................ 36 9.8 j ack -d etect f unction & a ssignment for j ack ......................................................................................................... 37 9.9 dc v oltage v olume c ontrol ............................................................................................................................... ....... 39 9.10 power off cd f unction ............................................................................................................................... ............ 40 9.11 gpio s mart v olume c ontrol ............................................................................................................................... ..... 41 10. application circuit ........................................................................................................ ........................................ 42 11. mechanical dimensions...................................................................................................... .................................. 45 12. ordering information....................................................................................................... ................................... 48 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 1 1. general description the ALC203 ac'97 codec is a 20-bit dac and 18-bit adc full duplex ac'97 2.3 compatible stereo audio codec designed for pc multimedia systems, including host/soft a udio and amr/cnr based designs. the alc 203 incorporates proprietary converter technology to achieve a high snr, greater than 100 db, sensing logic for device reporting, and universal audio jack? to improve user experience. the ALC203 supports multiple codec extensi ons with independent variab le sampling rates and built-in 3d effects. the ALC203 codec provides two pairs of stereo output s with independent volume controls, a mono output, and multiple stereo and mono inputs, along with flexible mixing, gain and mute functions to provide a complete integrated audio solution for pcs. the circui try of the ALC203 codec operates from a +3.3v digital power and +5v analog power supply with eapd (external amplifier power down) control for use in notebook and pc applications. an integrated 14.318m ? 24.576mhz pll generate required clock to eliminate the need for external crystal. built in pcbeep generator to save buzzer on board. the ALC203 integrates a 50mw/20 ? headset audio amplifier into the codec, saving bom costs. the ALC203 also supports the spdif out function, compliant with ac'97 2.3, which offers easy connection of pcs to consumer electronic products, such as ac3 decoder/speaker and mini disk devices. the ALC203 codec supports host/soft audio from intel ichx chipsets as well as audio controller based via/sis/ali/ amd/nvidia/ati chipsets. bundled windows series drivers (winxp/m e/2000/98/nt), eax/ direct sound 3d/ i3dl2/ a3d compa tible sound effect utilities (supporting karaoke, 26-types of e nvironment sound emulation, 10-ba nd equalizer), hrtf 3d positi onal audio and sensaura? 3d (optional) provide an excellent entertainmen t package and game experience for pc users. 2. features z single chip with high s/n ratio (>100 db) z meets performance requirements for audio on pc99/2001 systems z meets microsoft whql/wlp 2.0 audio requirements z 20-bit dac and 18-bit adc resolution z 18-bit stereo full-duplex codec with independent and variable sampling rate z compliant with ac?97 2.3 specifications -line/hp-out, mic-in and line-in sensing -14.318mhz- ? 24.576mhz pll saves crystal -12.288mhz bitclk input can be consumed -integrated pcbeep generator to save buzzer -interrupt capability - page registers and analog plug&play z support of s/pdif out is fully compliant with ac?97 rev2.3 specifications z three analog line-level stereo inputs with 5-bit volume control: line_in, cd, aux z high quality differential cd input z two analog line-level mono input: pcbeep, phone-in z supports double sampling rate (96khz) of dvd audio playback z two software selectable mic inputs z +6/12/20/30db boost preamplifier for mic input z stereo output with 6-bit volume control z mono output with 5-bit volume control z headphone output with 50mw/20 ? amplifier z 3d stereo enhancement z multiple codec extension capability z external amplifier power down (eapd) capability z power management and enhanced power saving features z stereo mic record for aec/bf application z dc voltage volume control z auxiliary power to support power off cd z adjustable vrefout control z 2 gpio pins with smart gpio volume control z 2 universal audio jack (uaj)? for front panel z support 32k/44.1k/48k/96khz of s/pdif output z support 32k/44.1k/48khz of s/pdif input z standard 48-pin lqfp package z eax? 1.0 & 2.0 compatible z direct sound 3d? compatible z a3d? compatible z i3dl2 compatible z hrtf 3d positional audio z sensaura? 3d enhancement (optional) z 10 bands of software equalizer z voice cancellation and key shifting in karaok mode z avrack ? media player z configuration panel to improve user experience www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 2 3. block diagram 3.1 analog mixer block mx0a mx0c mx0e mx10 mx12 mx16 3d master volume mono volume dac output pc-beep mic1 mic2 line-in phone cd-in aux-in mx1a m u x mx1c record gain mono mix stereo mix adc headphone volume phone mic-l line cd aux mx22 hp-out line-out mono-out mx20.8 ALC203 mx02 amp reset# mx06 mx04 yes no 0* 1 stereo analog mono analog * : default setting record gain mic adc mx18 1 mx6a.14 mx6a.7 mx6a.8 1* 0 mx1e left channel right channel 0* 1 boost boost mic-r 0* boost mx6a.6 0* 1 analog mixer diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 3 3.2 digital data path original adc mixer block mic adc spdif output dac ac- link cd-in line-in mic-in ... a nal og outputs dvol dvol di gi tal stereo digital mono a nal og stereo analog mono 20-bi t pcm 20-bi t spdif out left right 0 1 0 1 0 1 left dvol : digital volume control digital 3d 0 1 spdif input 20-bi t spdif in sp-in data spdif-in data 1 0 0 1 digital data path diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 4 4. pin assignments mono-out/vrefout3 avdd2 hp-out-l avss2 aux-l 123456789101112 36 35 34 33 32 31 30 29 28 27 26 25 spdifo 23 22 21 20 19 18 17 16 15 14 13 37 38 39 40 41 42 43 44 45 46 47 48 24 mic2 jd2 phone line-in-r avss1 afilt2 vaux dvdd1 line-out-r cd-r hp-out-r line-out-l dcvol afilt1 vrefout vref avdd1 line-in-l mic1 cd-gnd cd-l xtl-in xtl-out dvss1 sdata-out bit-clk dvss2 sdata-in dvdd2 sync reset# pcbeep jd0 xtlsel spdifi /eapd aux-r gpio0 gpio1 vrefout2 nc nc jd1 ALC203 lllllll txxxv pin assignments 4.1 lead (pb)-free package and version identification lead (pb)-free package is indicated by an ?l? in the location marked ?t? in the figure above. the version number is shown in th e location marked ?v?. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 5 5. pin description in order to reduce pin count, and therefore size and cost, some pins have multiple f unctions. in those cases, the functions are separated with a ?/? symbol. refer to the pin assignment diagram for a graphical representation. 5.1 digital i/o pins name type pin no description characteristic definition reset# i 11 ac'97 h/w rese t schmitt trigger input xtl-in i 2 crystal input pad crystal: 24.576m/14.318m crystal input external: 24.576m/14.318m external clock input xtl-out o 3 crystal output pad crystal: 24.576m/14.318m crystal output external: 24.576m/14.318m clock output sync i 10 sample sync ( 48khz) schmitt trigger input bit-clk io 6 bit clock input/output (12.288mhz) cmos input/output sdata-out i 5 serial tdm ac97 output cmos input sdata-in o 8 serial tdm ac97 input cmos output gpio0 i/o 43 general purpose pin-0. (smart volume up) internally pulled high by a 50k resistor. gpio1 i/o 44 general purpose pin-1. (smart volume down) internally pulled high by a 50k resistor. xelsel i 46 pulled low to use external 14.318mhz clock source cmos input vt=0.35vdd, internally pulled high by a 50k resistor. spdifi/eapd o 47 s/pdif input / external amplifier power down control cmos input / output spdifo o 48 s/pdif output digital output has 12 ma@75 ? driving capability. total: 13 pins www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 6 5.2 analog i/o pins name type pin no description characteristic definition pc-beep i 12 pc speaker input analog input (1.6vrms) phone i 13 speakerphone input analog input (1.6vrms) aux-l io 14 aux left channel analog input/output aux-r io 15 aux right channel analog input/output jd2 i 16 jack detect 2 for uaj2 interna lly pulled high to avdd by a 50k resistor jd1 i 17 jack detect 1 for uaj2 interna lly pulled high to avdd by a 50k resistor jd0 i 45 jack detect 0 for mic interna lly pulled high to avdd by a 50k resistor cd-l i 18 cd audio left channel analog input (1.6vrms) cd-gnd i 19 cd audio analog gnd analog input cd-r i 20 cd audio right channel analog input (1.6vrms) mic1 i 21 first mic input analog input (1.6vrms) mic2 i 22 second mic input analog input (1.6vrms) line-in-l i 23 line input left channel analog input (1.6vrms) line-in-r i 24 line input right channel analog input (1.6vrms) line-out-l o 35 line-out left channel analog output w/o amplifier line-out-r o 36 line-out right channel analog output w/o amplifier hp-out-l io 39 headphone out left channel ALC203: analog output with amplifier / analog input hp-out-r io 41 headphone out left channel ALC203: analog output with amplifier / analog input mono-out/ vrefout3 o 37 speaker phone output / third ref. voltage out analog output / third reference voltage output (2.5v/4.0v) total: 18 pins 5.3 filter/reference/nc name type pin no description characteristic definition vref - 27 reference voltage 1uf capacitor to analog ground vrefout o 28 ref. voltage out analog dc voltage output (2.5v / 4.0v) afilt1 - 29 adc anti-aliasing filter 1000pf capacitor to analog ground. afilt2 - 30 adc anti-aliasing filter 1000pf capacitor to analog ground. nc - 31 not connection dc vol i 32 dc voltage volume control analog input (agnd~avdd) vrefout2 o 33 secondary ref. voltage out analog dc voltage output (2.5v / 4.0v) vaux i 34 auxiliary power to keep cd and amplifier turned on. +5v analog stand-by power nc - 40 not connection total: 9 pins 5.4 power/ground name type pin no description characteristic definition avdd1 i 25 analog vdd avdd2 i 38 analog vdd avss1 i 26 analog gnd avss2 i 42 analog gnd dvdd1 i 1 digital vdd (3.3v) dvdd2 i 9 digital vdd (3.3v) dvss1 i 4 digital gnd dvss2 i 7 digital gnd total: 8 pins www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 7 6. registers 6.1 mixer registers access to registers with an odd number will return a 0. reading uni mplemented registers will also return a 0. x=reserved bit. reg. (hex) name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 defaul t 00h reset x se4 se3 se2 se1 se0 id9 id8 id7 id6 id5 id4 id3 id2 id1 id0 0190h 02h master volume mute x ml5 ml4 ml3 ml2 ml1 ml0 rm* x mr5 mr4 mr3 mr2 mr1 mr0 8000h 04h headphone volume mute x hpl5 hpl4 hpl3 hpl2 hpl1 hpl0 rm* x hpr5 hpr4 hpr3 hpr2 hpr1 hpr0 8000h 06h mono-out volume mute x x x x x x x x x x mm4 mm3 mm2 mm1 mm0 8000h 0ah pc_beep volume mute x x f7 f6 f5 f4 f3 f2 f1 f0 pb3 pb2 pb1 pb0 x 8000h 0ch phone volume mute x x x x x x x x x x ph4 ph3 ph2 ph1 ph0 8008h 0eh mic volume mute x x x x x bgo1 bgo0 x bc x mi4 mi3 mi2 mi1 mi0 8008h 10h line-in volume mute x x nl4 nl3 nl2 nl1 nl0 rm* x x nr4 nr3 nr2 nr1 nr0 8808h 12h cd volume mute x x cl4 cl3 cl2 cl1 cl0 rm* x x cr4 cr3 cr2 cr1 cr0 8808h 16h aux volume mute x x al4 al3 al2 al1 al0 rm* x x ar4 ar3 ar2 ar1 ar0 8808h 18h pcm out volume mute x x pl4 pl3 pl2 pl1 pl0 rm* x x pr4 pr3 pr2 pr1 pr0 8808h 1ah record select x x x x x lrs2 lrs1 lrs0 x x x x x rrs2 rrs1 rrs0 0000h 1ch adc record gain mute x x x lrg3 lrg2 lrg1 lrg0 x x x x rrg3 rrg2 rrg1 rrg0 8000h 1eh mic adc record gain mute x x x lmr g3 lmr g2 lmr g1 lmr g0 x x x x rmr g3 rmr g2 rmr g1 rmr g0 8000h 20h general purpose pop x 3d x drss 1 drss 0 mix ms lbk x x x x x x x 0400h 22h 3d control x x x x x x x x x x x x x dp2 dp1 dp0 0000h 24h audio int. & paging i4 i3 i2 i1 i0 x x x x x x x pg3 pg2 pg1 pg0 0000h 26h power down ctrl/status eapd pr6 pr5 pr4 pr3 pr2 pr1 pr0 x x x x ref anl dac adc 000fh 28h extended audio id id1 id0 x x rev1 rev0 ama p x x x x x x spdi f dra vra 0a07h 2ah extended audio status x x x x x spcv x x x x spsa 1 spsa 0 x spdi f dra vra 0000h 2ch pcm front out sample rate fsr 15 fsr1 4 fsr1 3 fsr1 2 fsr1 1 fsr1 0 fsr9 fsr8 fsr7 fsr6 fsr5 fsr4 fsr3 fsr2 fsr1 fsr0 bb80h 32h pcm input sample rate isr 15 isr 14 isr 13 isr 12 isr 11 isr 10 isr 9 isr 8 isr 7 isr 6 isr 5 isr 4 isr 3 isr 2 isr 1 isr 0 bb80h 34h mic input sample rate msr 15 msr 14 msr 13 msr 12 msr 11 msr 10 msr 9 msr 8 msr 7 msr 6 msr 5 msr 4 msr 3 msr 2 msr 1 msr 0 bb80h 3ah s/pdif ctl v drs spsr 1 spsr 0 l cc6 cc5 cc4 cc3 cc2 cc1 cc0 pre cop y /aud io pro 2000h 60h/ 6eh vendor define 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000h 76h gpio setup 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000h 78h gpio status 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000h 7ch vendor id1 f7 f6 f5 f4 f3 f2 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 414ch 7eh vendor id2 t7 t6 t5 t4 t3 t2 t1 t0 dev7 dev6 dev5 dev4 dev3 dev2 dev1 dev0 4770h www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 8 6.1.1 mx00 reset default: 0190h writing any value to this register will start a register reset, and causes all of the registers to revert to their default valu es, then the written data is ignored. reading this register returns the id code of the specific part. bit type function 15 reserved 14:10 r return 00000b 9 r read as 0 (no support for 20-bit adc) 8 r read as 1 (support for 18-bit adc) 7 r read as 1 (support for 20-bit dac) 6 r read as 0 (no support for 18-bit dac) 5 r read as 0 (no support for loudness) 4 r read as 1 (headphone output support) 3 r read as 0 (no simulated stereo; for analog 3d block use) 2 r read as 0 (no bass & treble control) 1 r reserved, read as 0 0 r read as 0 (no dedicated mic pcm input) 6.1.2 mx02 master volume default: 8000h these registers control the overall volume level of the output f unctions. each step on the left and right channels corresponds to a 1.5db increase/decrease in volume. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14 reserved 13:8 r/w master left volume (mlv[5:0]) in 1.5 db steps 7:6 reserved 5:0 r/w master right volume (mrv[5:0]) in 1.5 db steps n for mrv/mlv: 00h 0 db attenuation 3fh 94.5 db attenuation 6.1.3 mx04 headphone default: 8000h register 04h controls the headphone (ALC203) output volume. each step in bits 5:0 and 13:8 corresponds to a 1.5db increase/decrease in volume, allowing 63 levels of volume, from 000000 to 111111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14 reserved 13:8 r/w headphone/true line output left volume (hpl[5:0]) in 1.5 db steps 7:6 reserved 5:0 r/w headphone/true line output right volume (hpr[5:0]) in 1.5 db steps n for hpr/hpl: 00h 0 db attenuation 3fh 94.5 db attenuation www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 9 6.1.4 mx06 mono_out volume default: 8000h register 06h controls the mono volume output. mono output is the same data sent on all output channels. each step in bits 4:0 corresponds to a 1.5db increase/decrease in volume, allowing 32 levels of volume from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:5 reserved 4:0 r/w mono master volume (mmv[4:0]) in 1.5 db steps n for mmv: 00h 0 db attenuation 1fh 46.5 db attenuation 6.1.5 mx0a pc beep volume default: 8000h this register controls the input volume for the pc beep signal. each step in bits 4:1 corresponds to a 3db increase/decrease in volume. 16 levels of volume are available, from 0000 to 1111. the purpose of this register is to allow the pc beep signals to pass through the ALC203, eliminating the need for an external s ystem speaker/buzzer. the pc beep pin is directly routed (internally hardwired) to the l ine-outl & r pins. if the pc speaker/buzzer i s eliminated, it is recommended to connect th e external speakers at all times so the post codes can be heard during reset. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:5 r/w internal pcbeep frequency, f[7:0] the internal pcbeep frequency is the result of dividing the 48khz clock by 4 times the number specified in f[7:0]. the lowest tone is 48khz/(255*4)=47hz. the highest tone is 48khz/(1*4)=12khz. a value of 00h in f[7:0] disables internal pcb eep generator and allows external pcbeep input. 4:1 r/w pc beep volume (pbv[3:0]) in 3 db steps 0 reserved n for pbv: 00h 0 db attenuation 0fh 45 db attenuation 6.1.6 mx0c phone volume default: 8008h register 0ch controls the tele phone input volume for soft ware modem applications. because software modem applications may not have a speaker, the codec can offer a speaker-out service. e ach step in bits 4:0 corresponds to a 1.5db increase/decrease i n volume, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:5 reserved 4:0 r/w phone volume (pv[4:0]) in 1.5 db steps n for pv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 10 6.1.7 mx0e mic volume default: 8008h register 0eh controls the microphone input volume. each step in bits 4:0 corresponds to a 1.5db increase/decrease in volume, allowing 32 levels of volume, from 00000 to 11111. bit 6 enables/di sables a boost in volume to a magnification based on bits 9: 8. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:10 reserved 9:8 r/w boost gain option (bgo) 00: 20 db 01: 6 db 10: 12 db 11: 29.5 db (v=30*vmic-in) 7 reserved 6 r/w boost control (bc) 0: disable 1: enable boost 5 reserved 4:0 r/w mic volume (mv[4:0]) in 1.5 db steps n for mv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain o if 29.5db boost gain is selected, input resistor can be reduced to save area of feedback resistor. 6.1.8 mx10 line_in volume default: 8808h register 10h controls the line_in input volume. each step in bits 4:0 corresponds to a 1.5db increase/decrease in volume for the right channel, allowing 32 levels of volume, from 00000 to 11111. each step in bits 12:8 corresponds to a 1.5db increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w line-in left volume (nlv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w line-in right volume (nrv[4:0]) in 1.5 db steps n for nlv/nrv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain 6.1.9 mx12 cd volume default: 8808h register 12h controls the cd input volume. each step in bits 4:0 corresponds to a 1.5db increase/decrease in volume for the rig ht channel, allowing 32 levels of volume, from 00000 to 11111. each st ep in bits 12:8 corresponds to a 1.5db increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w cd left volume (clv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w cd right volume (crv[4:0]) in 1.5 db steps n for clv/crv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 11 6.1.10 mx16 aux volume default: 8808h register 16h controls the auxilia ry input volume. each step in bits 4:0 corresponds to a 1.5db increase/decrease in volume for the right channel, allowing 32 levels of volume, from 00000 to 11111. each step in bits 12:8 corresponds to a 1.5db increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w aux left volume (alv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w aux right volume (arv[4:0]) in 1.5 db steps n for alv/arv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain 6.1.11 mx18 pcm_out volume default: 8808h register 18h controls the pcm_out output volume. each step in bits 4:0 corresponds to a 1.5db increase/decrease in volume for the right channel, allowing 32 levels of volume, from 00000 to 11111. each step in bits 12:8 corresponds to a 1.5db increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w pcm volume (plv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w pcm right volume (prv[4:0]) in 1.5 db steps n for plv/prv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 12 6.1.12 mx1a record select default: 0000h register 1ah controls the record input source. each bit in bits 2:0 selects a recording source for the right channel. each bit in bits 10:8 selects a recording sour ce for the left channel. bit type function 15:11 reserved 10:8 r/w left record source select (lrs[2:0]) 7:3 reserved 2:0 r/w right record source select (rrs[2:0]) n for lrs 0 mic 1 cd left 2 muted 3 aux left 4 line left 5 stereo mixer output left 6 mono mixer output 7 phone o for rrs 0 mic 1 cd right 2 muted 3 aux right 4 line right 5 stereo mixer output right 6 mono mixer output 7 phone 6.1.13 mx1c record gain for stereo adc default: 8000h register 1ch controls the record gain. each step in bits 3:0 corresponds to a 1.5db increase/decrease in gain for the right channel, allowing 16 levels of gain, from 0000 to 1111. each step in bits 11:8 corresponds to a 1.5db increase/decrease in gain for the left channel, allowing 16 levels of gain, from 0000 to 1111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:12 reserved 11:8 r/w left record gain select (lrg[3:0]) in 1.5 db steps 7:4 reserved 3:0 r/w right record gain select (rrg[3:0]) in 1.5 db steps n for lrg/rrg: 0fh +22.5db 00h 0 db (no gain) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 13 6.1.14 mx1e record gain for mic adc default: 8000h register 1eh controls the record gain. each step in bits 3:0 corresponds to a 1.5db increase/decrease in gain for the right channel, allowing 16 levels of gain, from 0000 to 1111. each step in bits 11:8 corresponds to a 1.5db increase/decrease in gain for the left channel, allowing 16 levels of gain, from 0000 to 1111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:12 reserved 11:8 r/w left record gain select (lmrg[3:0]) in 1.5 db steps 7:4 reserved 3:0 r/w right record gain select (rmrg[3:0]) in 1.5 db steps n for lrg/rrg: 0fh +22.5db 00h 0 db (no gain) 6.1.15 mx20 general purpose register default: 0000h this register is used to control several functions. bit 13 enable s or disables 3d control. bit 9 allows selection of mono outpu t. bit 8 controls the mic selector. bit 7 enables loopback of the ad output to the da input without involving the ac-link, allowing for full system performance measurements. bit type function 15:14 reserved , read as 0 13 r/w 3d control 1: on 0: off 12:9 reserved , read as 0 8 r/w mic select 0: mic 1 1: mic 2 7 r/w ad to da loop-back control 0: disable 1: enable 6:0 reserved 6.1.16 mx22 3d control default: 0000h this register is used to control the 3d stereo enhancement function built into the ac?97 component. the register bits, dp2-dp0 are used to control the separation ratios in the 3d control for both line_out and dac_out. the 3d stereo enhancement function provides for a deeper a nd wider sound experience with a potential 6-speaker arrangement. note that the 3d bit in the general purpose register (bit 13) must be set to 1 to enable this function. bit type function 15:3 reserved , read as 0 2:0 r/w depth control (dp[2:0]) n 3d effect control dp[2:0] function dp[2:0] function 000 0% (off*) 100 50% 001 12.5% 101 67.5% 010 25% 110 75% 011 37.5 111 100% www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 14 6.1.17 mx24 audio interrupt and paging default: 0000h bit type function 15 interrupt status, i4 0: interrupt is clear 1: interrupt was generated interrupt event and status are clear by writing a 1 to th is bit. the status will change regardless of interrupt enable (i0). 14 r interrupt cause, i3 i3=0: gpio, spdif-in and jack-detect interrupt status in mx78 are not changed. 1: gpio, spdif-in and jack-detect interrupt status in mx78 are changed. i3= (mx78.14|mx78.13|mx78.12|mx78.6|mx78.5|mx78.4) this bit reflects the cause of the first interrupt event generated. software should read it after interrupt status (i4) has been confirmed as interrupting. i3 will be zero when i4 is cleared. 13 r interrupt cause, i2 i2=0: sense value in page id-01h mx6a.[12:8] has not changed. 1: sense cycle completed or new sense value in page id-01h mx6a.[12:8] is available. this bit reflects the cause of the first interrupt event generated. software should read it after interrupt status (i4) has been confirmed as interrupting. i2 will be zero when i4 is cleared. 12 r/w sense cycle, i1 0: sense cycle not in progress 1: sense cycle start writing a ?1? to this bit causes a sense cycle start. if a sense cycle is in progress, writing a ?0? to this bit will abort the sense cycle. whether the data in the sense result register (page id-01h mx6a) is valid or not is determined by the iv bit in mx6a, page id-1h. 11 r/w interrupt enable, i0 0: interrupt is masked, interrupt status (i4) will not be shown in bit 0 in slot 12 in sdata-in. 1: interrupt is un-masked, interrupt status (i4) will be shown in bit 0 in slot 12 in sdata-in. 10:4 na reserved, read as 0 3:0 r/w page selector, pg[3:0] 0000b: vendor specific 0001b: page id 01 (ac?97 2.3 di scovery descript or definition) others: reserved. this register is used to select a descriptor of 16 word pages between registers mx60 to mx6f. value of 0 is used to select vendor specific space to maintain compa tibility with ac?97 2.2 ve ndor specific register. once pg[3:0] is not 0000b and 0001b, ALC203 will retu rn zero data for aclink mixer read command. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 15 6.1.18 mx26 powerdown control/status default: 000fh this read/write register is used to program power-down states a nd monitor subsystem readiness. the lower half of this register is read only status; a ?1? indicating that the subsection is ?ready.? ready is defined as the subsection?s ability to perform in i ts nominal state. when this register is written, the bit values that come in on ac-link will have no effect on read only bits 0-7 and bit 15. when the ac-link ?codec ready? indicator bit (sdata_in slot 0, bit 15) is a 1, it indicates that the ac-link and ac?97 control and status registers are in a fully operational state. the ac?97 controller must further probe this powerdown control /status register to determine exactly which subsections, if any, are ready. bit type function 15 r/w pr7 external amplifier power down (eapd) 0: normal 1: power down 14 r/w pr6 0: normal 1: power down headphone out (hp-out, pin-39/41) 13 r/w pr5 0: normal 1: disable internal clock 12 r/w pr4 0: normal 1: power down ac-link 11 r/w pr3 0: normal 1: power down mixer (vref off) 10 r/w pr2 0: normal 1: power down mixer (vref still on) 9 r/w pr1 0: normal 1: power down pcm dac 8 r/w pr0 0: normal 1: power down pcm adc and input mux 7:4 reserved , read as 0 3 r vref status 1: vref is up to normal level 0: not yet ready 2 r analog mixer status 1: ready 0: not yet ready 1 r dac status 1: ready 0: not yet ready 0 r adc status 1: ready 0: not yet ready n truth table for power down mode : adc dac mixer verf aclink int clk hp-out eapd pr0=1 pd pr1=1 pd pr2=1 pd pd pr3=1 pd pd pd pd pd pr4=1 pd pd pd pr5=1 pd pd pd pr6=1 pd pr7=1 pd pd: power down blank: don?t care o if mixer is power down (pr2=1 or pr3=1), the line-out (pin-35/36) is shut down and its output is floated. p if headphone-out is power down (pr6=1), the hp-out (pin-39/41) is shut down and its output is floated. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 16 6.1.19 mx28 extended audio id default: 0605h the extended audio id register is a read only register used to communicate information to the digital controller on two functio ns. id1 and id0 echo the configuration of the codec as defined by the pr ogramming of pins 45 and 46 extern ally. ?00? returned defines t he codec as the primary codec, while any other code identifie s the codec as one of three secondary codec possibilities. bit type function 15 r id1 14 r id0 13:12 reserved , read as 0 11:10 r rev[1:0]=10 to indicate that the ALC203 is ac?97 rev2.3 compliant 9 r amap read as 1 (dac mapping based on id) 8:6 reserved , read as 0 5:4 r/w dac slot assignment dsa[1:0] (default value depends on id[1:0]) dsa[1:0] controls the dac slot assignment, as described in ac?97 rev2.2. 3 reserved , read as 0 2 r spdif read as 1 (s/pdif is supported) 1 r dra read as 1 0 r vra read as 1 (variable rate audio is supported) n id[1:0] depend on the states of pins 46, 45, 44, and 43 when power-on reset or ac97_reset# is active. refer to section 9.1 for detailed information on configuration of id[1:0]. o the ALC203 maps dac slot according to the followi ng table: (default maps to ac?97 spec. rev2.3) dsa[1:0] left dac slot # right dac slot # comment 0,0 3 4 default when id[1:0]=00 0,1 7 8 default when id[1:0]=01,10 1,0 6 9 default when id[1:0]=11 1,1 10 11 - www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 17 6.1.20 mx2a extended audio status and control, default: 0000h this register contains two active bits for power-down and status of the surrounding dacs. bits 0, 1, and 2 are read/write bits which are used to enable or disable vra, dra, and spdif respectively. bits 4 and 5 ar e read/write bits used to determine the ac-link slot assignment of the s/pdif. bit 10 is a read-only bit which tells the controller if the s/pdif configuration is vali d. bit type function 15 r/w validity configuration of s/pdif output (vcfg) combines with mx3a.15 to decide validity control in s/pdif output signal. 14:11 na reserved 10 r s/pdif configuration valid (spcv) 0: current s/pdif conf iguration {spsa, spsr,dac/slot rate} is not valid. 1: current s/pdif c onfiguration {spsa, spsr,dac/slot rate} is valid. 9:6 reserved 5:4 r/w spsa[1:0], s/pdif slot assignment when drs=0 00: s/pdif source data assigned to ac-link slot3/4 01: s/pdif source data assigned to ac-link slot7/8 (default when id=00) 10: s/pdif source data assigned to ac-link slot6/9 (default when id=01,10) 11: s/pdif source data assigned to ac-link slot10/11 (default when id=11) spsa[1:0], s/pdif-out slot assign ment when drs=1(for 96k s/pdif-out) 01: s/pdif-out source is from ac-link slot 3/4 + slot 7/8. 3 reserved 2 r/w spdif 1: enable 0: disable (spdifo is in high impedance) 1 r/w dra 1: enable 0: disable 0 r/w vra 1: enable 0: disable n if vra = 0, the ALC203?s adc/dac operate at a fixed 48khz sampling rate. otherwise, they operate at a variable sampling rate defined in mx2c and mx32. vra also controls the write operation of mx2cand mx32. o dra can be written when (id=00)&(dsa=00), otherwise it is always 0. if dra = 1, dac operates at a fixed 96khz sampling rate . the pcm(n) and pcm(n+1) data is captured in the same frame. in this mode, mx2c is fixed at bb 80h, mx32 and adc is still controlled by vra. p spcv is a read-only bit that indicates whether the current s/pdif-out configuration is supported or not. if the configuration is supported, spcv is set as 1 by h/w. so driver can check this bit to determine the status of the s/pdif transmitter system. spcv is always operating, i ndependent of the spdif enable bit (mx2a.2). the s/pdif output is active if mx2a.2 is set in spite of spcv. once s/pdif output is enabled but spcv is invalid (spcv=0), channel status is still output, but the output data bits will be all zero. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 18 6.1.21 mx2c pcm dac rate default: bb80h the ALC203 allows adjustment of the output sample rate. this register is used to adjust the sample rate. by changing the values , sampling rates from 8000 to 48000 can be chosen. bit type function 15:0 r/w output sampling rate fosr[15:0] n the ALC203 supports the following sampling rates, as required in the pc99/pc2001 design guide. sampling rate fosr[15:0] 8000 1f40h 11025 2b11h 12000 2ee0 16000 3e80h 22050 5622h 24000 5dc0 32000 7d00h 44100 ac44h 48000 bb80h o note that if the value written is not s upport, the closest value is returned. when mx2a.0=0 (vra is disable), this register will return bb80h when read. 6.1.22 mx32 pcm adc rate default: bb80h the ALC203 allows adjustment of the input sample rate. this regist er is used to adjust the sample rate. by changing the values, sampling rates from 8000 to 48000 can be chosen. bit type function 15:0 r/w output sampling rate fisr[15:0] n the ALC203 supports the following sampling rates, as required in the pc99/pc2001 design guide. sampling rate fisr[15:0] 8000 1f40h 11025 2b11h 12000 2ee0 16000 3e80h 22050 5622h 24000 5dc0 32000 7d00h 44100 ac44h 48000 bb80h o note that if the value written is not s upported, the closest value is returned. when mx2a.0=0 (vra is disable), this register will return bb80h when read. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 19 6.1.23 mx3a s/pdif out channel status/control default: 2000h bit type function 15 r/w validity control (control v bit in sub-frame) 0: the v bit (valid flag) in the sub-frame depe nds on whether the s/pdif data is under-run or over-run. 1: the v bit in sub-frame is always sent as 1 to indicate the invalid data is not suitable for receiver. 14 r drs (double rate s/pdif) 0: 32k, 44.1k, 48k s/pdif-out 1: 96k s/pdif-out this bit can only be set when spsr is 10b. 13:12 r/w s/pdif sample rate spsr[1:0] 00: sample rate set to 44.1khz, fs[ 0:3 ]=0000 01: reserved 10: sample rate set to 48.0khz, fs[ 0:3 ]=0100 (default) 11: sample rate set to 32.0khz, fs[ 0:3 ]=1100 11 r/w generation level (level) 10:4 r/w category code ( cc[6:0]) 3 r/w preemphasis (pre) 0: none 1: filter pre-emphasis is 50/15 sec 2 r/w copyright (copy) 0: not asserted 1: asserted 1 r/w non-audio data type (/audio) 0: pcm data 1: ac3 or other digital non-audio data 0 r professional or consumer format (pro) 0: consumer format 1: professional format the ALC203 supports consumer channel status format, so this bit is always 0. n the consumer channel status block (bit0~bit31): 0 1 2 3 4 5 6 7 pro=0 /audio copy pre 0 0 0 0 8 9 10 11 12 13 14 15 cc0 cc1 cc2 cc3 cc4 cc5 cc6 level 16 17 18 19 20 21 22 23 0 0 0 0 0 0 0 0 24 25 26 27 28 29 30 31 fs0 fs1 fs2 fs3 0 0 0 0 o the ?v? bit in the sub-frame is determined by validity control (mx3a.15) and vcfg (mx2a.15): validity vcfg operation 0 0 if s/pdif fifo is under-run, the ?v? bit in the sub-frame is set to indicate that the s/pdif data is invalid. 0 1 if s/pdif fifo is under-run, the ?v? bit in the sub-frame is alway s 0, and pads the data with ?0?s. 1 0 the ?v? bit is always 1, and data bits (bit 8 ~ bit 27) should be forced to 0. 1 1 the ?v? bit in sub-frame is alwa ys ?0?, and the s/pdif output data should be forced to zero. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 20 6.2 vendor defined registers (page-00h) these registers are available to realtek and realtek customers for specialized functions. 6.2.1 page -0h, mx60 s/pdif in status [15:0] default: 0000h the data in mx60 are captured from channel status [15:0] of s/pdif-in signal. bit type function 15 r level (generation level) 14:8 r cc[6:0] (category code) 7:6 r mode[1:0] 5:3 r pre[2:0] (pre-emphasis) 2 r copy (copyright) 0: asserted 1: not asserted 1 r /audio (non-audio data type) 0: pcm data 1: ac3 or other digital non-audio data 0 r pro (professional or consumer format) 0: consumer format 1: professional format 6.2.2 page -0h, mx62 s/pdif in status [29:15] default: 0000h the data in mx62 are captured from channel status [29:16] of s/pdif-in signal. bit type function 15 r ?v? bit in sub-frame of spdifi 0: data x and y are valid 1: at least one of data x and y is invalid this bit is real-time updated, and it is meaning when s/pdif-in is locked 14 r s/pdif-in input signal locked by hardware 0: unlocked 1: locked 13:12 r ca[1:0] ( clock accuracy) 11:8 r fs[3:0]. (sample frequency in channel status) 0000: 44.1khz 0010: 48 khz 0011: 32 khz others: reserved 7:4 r cn[3:0] (channel number) 3:0 r sn[3:0] (source number) 6.2.3 page -0h, mx6a data flow control default: 0000h bit type function 15 na reserved 14 r/w direct dac mode 0: analog output is from summation of dac and analog inputs. 1: analog output is from dac. 13:12 r/w s/pdif out source 00:s/pdif data is from aclink controller 01: reserved. 10:directly bypass s/pdif-in signal to s/pdif-out. 11: reserved. 11 r/w recorded pcm data to aclink www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 21 bit type function 0: recorded pcm data to host is from original adc 1: recorded pcm data to host is from s/pdif-in 10:8 na reserved 7 r/w mic2 source 0: mic2 1: (mic1+mic2)/2. 6 r/w adc mic source 0: mono duplicated. (default) 1: stereo. 5:2 na reserved 1 r/w s/pdif-in enable 0: disable 1: enable 0 r/w s/pdif-in monitoring control 0: disable, spdifi data is not added into pcm data to dac. (default) 1: enable, spdifi data will be added into pcm data to dac after spdifi is locked. 6.3 discovery descriptor (page id-01h) these registers are defined in ac?97 2.3 fo r sensing and analog plug & play functions. 6.3.1 page -1h, mx62 pci sub system id default: ffffh bit type function 15:0 r/w pci sub system vendor id this register can be written once only after power on, and is not affected by ac97 cold reset . the system manufacture?s bios can set its own sub-system id. the default value ffffh means this register is implemented and data is not set by bios. 6.3.2 page -1h, mx64 pci sub vendor id default: ffffh bit type function 15:0 r/w pci vendor id this register can be written once only after power on, and is not affected by ac97 cold reset . the system manufacture?s bios can set its own sub-vendor id. the default value ffffh means this register is implemented and data is not set by bios. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 22 6.3.3 page -1h, mx66 sense function select default: 0000h bit type function 15:5 reserved 4:1 r/w function code bits, fc[3:0] these bits specify the type of audio function described in page id-01h mx66, mx68 and mx6a. 0h: line out 1h: hp out 5h: mic1 in 6h: mic2 in 7h: line in others: not supported 0 r/w tip or ring selection, t/r this bit sets which jack conductor the sense value is measured from. it is combined with fc[3:0]. 0: tip (left channel) 1: ring (right channel) 6.3.4 page -1h, mx68 sense function default: 02f1h bit type function 15:11 r/w gain bits, g[4:0] these bits are updated by bios to tell driver the gain supported by external amplifier. 1 lsb = 1.5dbv 00000b: 0dbv, 00001b: +1.5dbv,? 01111b:+24dbv 10000b: 0dbv, 10001b: -1.5dbv,? 11111b: -24dbv 10 r/w inversion bit, inv 0: no inversion reported 1: inverted. 9:5 r/w buffer delays, dl[4:0] delay measurement for the signal from inputs to outputs channels in 20.83sec (1/48000 second) units. 4 r/w information valid bit, iv 0: after a sense cycle is completed, indicates that no information is provided on the sensing method 1: after a sense cycle is completed, indicates that information is provided on the sensing method clearing this bit by writing ?1?, writing ?0? to this bit has no effect. 3:1 na reserved 0 r function information present, fip this bit when set to a ?1? indicates that the g[4:0], inv, dl[4:0] and st[2:0] bits are supported and are read/write capable. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 23 6.3.5 page -1h, mx6a sense detail default: 0000h bit type function 15:13 r/w connection/jack location bits, st[2:0] 000b: rear i/o panel (default) 001b: front panel 010b: motherboard 011b: dock/external 100b ~ 110b: reserved 111b: unused i/o. these bits should be written by the bios to let th e driver know where the sp ecified i/o fc[3:0] are located. 12:8 r sense bits, s[4:0] (default value depends on sensed result after cold reset) for output devices: 02h: not specificed or unknown 05h: powered speaker 06h: earphone or passive speaker other: not supported for input deices: 12h: not specified or unknown 13h: mono microphone 15h: stereo line-in other: not supported this field reports the type of output/input peripheral plugged in the jack after sensing. 7:0 r always read as 0. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 24 6.4 extension registers 6.4.1 mx76 gpio & interrupt setup default: 0000h bit type function 15 r/w gpio status indication in sdata_in 0:the status of gpio0/gpio1/jd and its valid tag are not indicated in sdata_in. 1: the status of gpio0/gpio1/jd and its valid tag are indicated in sdata_in 14 r/w spdifi valid interrupt enable 0:disable 1: enable 13 r/w spdifi lock interrupt enable 0:disable 1: enable 12 r/w jd2 (jack-detect 2) interrupt enable 0: disable 1: enable. a low to high transaction will trigger the jd2 interrupt in bit0 of sdata_in?s slot-12. 11:7 reserved 6 r/w jd1 (jack-detect 1) interrupt enable 0: disable 1: enable. a low to high transaction will trigger the jd interrupt in bit0 of sdata_in?s slot-12. 5 r/w gpio1 interrupt enable (when gpio1 is used as input) 0: disable 1: enable. a low to high transaction will trigger the gpio interrupt in bit0 of sdata_in?s slot-12. 4 r/w gpio0 interrupt enable (when gpio0 is used as input) 0: disable 1: enable. a low to high transaction will trigger the gpio interrupt in bit0 of sdata_in?s slot-12. 3:2 reserved 1 r/w gpio1primitive control 0: set gpio1 as input pin. 1: set gpio1 as output pin. 0 r/w gpio0 primitive control 0: set gpio0 as input pin. 1: set gpio0 as output pin. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 25 6.4.2 mx78 gpio & interrupt status default: 0000h bit type function 15 na reserved 14 r/w s/pdinf-in valid interrupt status (spdifin_vis) . 0: no spdifi valid interrupt. 1: spdifi valid interrupt. write 1 to clear this status bit and its interrupt. 13 r/w s/pdinf-in lock interrupt status (spdifin_lis) . 0: no spdifi lock interrupt. 1: spdifi lock interrupt. write 1 to clear this status bit and its interrupt. 12 r/w jd2 interrupt status (jd2_is) 0: no jd2 interrupt. 1: jd2 interrupt. write 1 to clear this status bit. 11:10 na reserved 9 r/w gpio1 output control 0: drive gpio1 low. 1: drive gpio1 high. 8 r/w gpio0 output control 0: drive gpio0 as low. 1: drive gpio0 as high. 7 na reserved 6 r/w jd1 interrupt status (jd1_is) 0: no jd1 interrupt. 1: jd1 interrupt. write 1 to clear this status bit. 5 r/w gpio1 interrupt status (gpio1_is) . (when gpio1 is used as input) 0: no gpio1 interrupt. 1: gpio1 interrupt. write 1 to clear this status bit. 4 r/w gpio0 interrupt status (gpio0_is) . (when gpio0 is used as input) 0: no gpio0 interrupt. 1: gpio0 interrupt. write 1 to clear this status bit. 3 na reserved 2 r jack-detect event (jdevt) 0: no jack-detect event occurs. 1: jack-detect event occurs. jdevt = jds1 | jds2 software can check this bit and mx7a.1 to know the status of jdx. when mx7a.5=0, mx7a.1=jds1. when mx7a.5=1, mx7a.1=jds2. 1 r gpio1 input status 0: gpio1 is driven low by external device (input). 1: gpio1 is driven high by external device (input). 0 r gpio0 input status 0: gpio0 is driven low by external device (input). 1: gpio0 is driven high by external device (input). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 26 6.4.3 mx7a miscellaneous control default: 0000h bit type function 15:11 na reserved 10 r/w pin-37 function selection (mono-out or vrefout3) 0: vrefout3 1: mono-out 9 r/w vrefout off control 0: vrefout is normal on (output of buffered vref). 1: vrefout is off. (in high-z). 8 r/w vrefout / vrefout2 / v refout3 level control 0: 2.5v 1: 4.0v 7:6 na reserved 5 r/w source of jack-detect status for mx7a.1 0: mx7a.1 indicates the status of jack-detect 1 1: mx7a.1 indicates the status of jack-detect 2 4 r/w hp-out control 0: normal 1: hp-out is muted by h/w when mx7a.1=1 3 r/w mono-out control 0: normal 1: mono-out is muted by h/w when mx7a.1=1 2 r/w spdif output gating 0: spdif output is not gated with mx7a.1 1: spdif output is gated with mx7a .1. (spdifo is forced to 0 if mx7a.1=0) 1 r status of jack-detect 1 or 2 (jdsx) 0: jdsx is pull low 1: jdsx is floating or pull high 0 r/w line-out output control 0: normal 1: line-out output is muted by h/w when mx7a.1=1 6.4.4 mx7c vendor id1 the two registers (mx7c vendor id1 and mx7e vendor id2) contai n four 8-bit id codes. the first three codes have been assigned by microsoft for plug and play definitions. the fourth code is a realtek assigned code identifying the ALC203. the mx7c vendor id1 register contains the value 414ch, which is the first and second characters of the microsoft id code. the mx7c vendor id2 register contains the value 4770h, which is the third of the microsoft id code default: 414ch bit type function 15:0 r vendor id ?al? 6.4.5 mx7e vendor id2 default: 4770h bit type function 15:8 r vendor id - ?g? 7:0 r device id ? 70h for ALC203 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 27 7. electrical characteristics 7.1 dc characteristics 7.1.1 absolute maximum ratings parameter symbol minimum typical maximum units power supplies digital analog dvdd avdd** 3.0 3.3 3.3 5.0 3.6 5.5 v v operating ambient temperature ta 0 - +70 o c storage temperature ts +125 o c esd (electrostatic discharge) susceptibility voltage pin 9 4500 v other pins 5000 v note ** : the standard testing condition befo re shipping is avdd = 5.0v unless specifie d. customers designing with a different avdd should contact realtek technical support. 7.1.2 threshold hold voltage dvdd= 3.3v 5%, t ambient =25 0 c, with 50pf external load. parameter symbol minimum typical maximum units input voltage range v in -0.30 - dvdd+0.30 v low level input voltage (xtlin, sync, sdout, reset#, bitclk, gpio, s/pdif-in) v il - - 0.5dvdd v high level input voltage (xtlin, sync, sdout, reset#, bitclk, gpio, s/pdif-in) v ih 0.5dvdd - - v high level output voltage v oh 0.9dvdd - v low level output voltage v ol - - 0.1dvdd v input leakage current - -10 - 10 a output leakage current (hi-z) - -10 - 10 a output buffer drive current - - 5 - ma internal pull up resistance - 30k 50k 100k ? 7.1.3 digital filter characteristics filter symbol minimum typical maximum units adc lowpass filter passband 0 - 19.2 khz stopband 28.8 khz stopband rejection -76.0 db passband frequency response +- 0.20 db dac lowpass filter passband 0 - 19.2 khz stopband 28.8 khz stopband rejection -78.5 db passband frequency response +- 0.20 db www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 28 7.1.4 s/pdif output characteristics dvdd= 3.3v, t ambient =25 0 c, with 75 ? external load. parameter symbol minimum typical maximum units high level output voltage v oh 3.0 3.3 v low level output voltage v ol - 0 0.3 v 7.2 ac timing characteristics 7.2.1 cold reset parameter symbol minimum typical maximum units reset# active low pulse width t rst_low 1.0 - - s reset# inactive to bit_clk startup delay t rst2clk 162.8 - - ns bitclk reset# trst_low trst2clk cold reset timing diagram 7.2.2 warm reset parameter symbol minimum typical maximum units sync active high pulse width t sync_high 1.0 - - s sync inactive to bit_clk startup delay t sync2clk 162.8 - - ns bitclk sync tsync_high tsync2clk warm reset timing diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 29 7.2.3 ac-link clocks parameter symbol minimum typical maximum units bit_clk frequency - 12.288 - mhz bit_clk period t clk_period - 81.4 - ns bit_clk output jitter - - 750 ps bit_clk high pulse width (note 2) t clk_high 36 40.7 45 ns bit_clk low pulse width (note 2) t clk_low 36 40.7 45 ns sync frequency - 48.0 - khz sync period t sync_period - 20.8 - s sync high pulse width t sync_high - 1.3 - s sync low pulse width t sync_low - 19.5 - s note 1: worse case duty cy cle restricted to 45/55. 7.2.4 data output and input timing parameter symbol minimum typical maximum units output valid delay from rising edge of bit_clk t co - - 15 ns note 1: timing is for sdata and sync outputs with respect to bit_clk at the device driving the output. note 2: 50pf external load parameter symbol minimum typical maximum units input setup to falling edge of bit_clk t setup 10 - - ns input hold from falling edge of bit_clk t hold 10 - - ns note: timing is for sdata and sync outputs with respect to bit_clk at the device driving the output. parameter symbol minimum typical maximum units bit_clk combined rise or fall plus flight time - - 7 ns sdata combined rise or fall plus flight time - - 7 ns note: combined rise or fall plus flight times are provided for worst case scenario modeling purposes. bitclk sdata-out sdata-in sync v il tsetupthold data output and input timing diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 30 7.2.5 signal rise and fall timing parameter symbol minimum typical maximum units bit_clk rise time trise clk - - 6 ns bit_clk fall time tfall clk - - 6 ns sync rise time trise sync - - 6 ns sync fall time tfall sync - - 6 ns sdata_in rise time trise din - - 6 ns sdata_in fall time tfall din - - 6 ns sdata_out rise time trise dout - - 6 ns sdata_out fall time tfall dout - - 6 ns note 1: 75pf external load (50 pf in ac?97 rev2.1) note 2: rise is from 10% to 90% of vdd (v ol to v oh ) note 3: fall is from 90% to 10% of vdd (v oh to v ol ) signal rise and fall timing diagram 7.2.6 ac-link low power mode timing parameter symbol minimum typical maximum units end of slot 2 to bit_clk, sdata_in low t s2_pdown - - 1.0 s ts2_pdown slot-2 slot-1 write to mx26 set pr4 sync bitclk sdata-out sdata-in ac-link low power mode timing diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 31 7.2.7 ate test mode to meet ac?97 rev2.3 specifications, eapd, spdifo, bit_ clk, and sdata_in should be floating in test mode. parameter symbol minimum typical maximum units setup to trailing edge of reset# (also applies to sync) t setup2rst 15.0 - - ns rising edge of reset# to hi-z delay t off - - 25.0 ns toff tsetup2rst reset# sdata-out sdata-in, bitclk hi-z ate test mode timing diagram 7.2.8 ac-link io pin capacitance and loading output pin 1 codec 2 codec 3 codec 4 codec bit_clk (must support 2 codecs) 55pf 62.5pf 75pf 85pf sdata_in 47.5pf 55pf 60pf 62.5pf 7.2.9 spdif output spdif_out minimum typical maximum units rise time/fall time 0 10 % duty cycle 45 55 % t (h) t (l) t (r) t (f) 90% 50% 10% notes: rise time = 100 * t (r) / (t (l) + t (h) )% fall time = 100 * t (f) / (t (l) + t (h) )% duty cycle = 100 * t (h) / (t (l) + t (h) )% www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 32 8. analog performance characteristics standard test conditions: t ambient =25 0 c, dvdd=3.3v 5%,avdd=5.0v 5% 1khz input sine wa ve; sampling frequency=48khz; 0db=1vrms 10k ? /50pf load; test bench characterization bw: 10hz~22khz 0db attenuation; tone and 3d disabled parameter minimum typical maximum units full scale input voltage: line inputs (mixers) line inputs (a/d) mic input (0 db) mic input (20 db boost) - - - - 1.6 1.0 1.6 0.16 - - - - vrms full scale output voltage line-out hp-out - - 1.25 1.25 - - vrms vrms analog to analog s/n: cd to line-out other to line-out - - 100 100 - - db analog frequency response 10 - 22,000 hz s/n (a-weighted): d/a a/d - - 100 90 - - db total harmonic distortion: d/a a/d - - -92 -85 - - db d/a & a/d frequency response 20 - 19,200 hz transition band 19,200 - 28,800 hz stop band 28,800 - hz stop band rejection -75 - - db out-of-band rejection - -65 - db group delay - - 1 ms power supply rejection - -40 - db mic boost gain 6 30 db master volume (line- / hp-out): 64 step step size attenuation control range - 0 1.5 - - -94.5 db db master volume (mono-out): 32 step step size attenuation control range - 0 1.5 - - -46.5 db db pc beep volume 16 steps: step size attenuation control range - 0 3.0 - - -45 db db analog mixer volume 32 steps: step size gain control range - -34.5 1.5 - - +12 db db record gain 16 steps: step size gain control range - 0 1.5 - - +22.5 db db dc volume control: 32 step gain control range 0 db dc voltage mute dc voltage 0 - 4.7 - - - -43 0.1 - db v v input impedance (gain = 0db, mixer = off) line-in, cd-in, aux-in, mic1 / mic2 pcbeep, phone - - 64 16 - - k ? k ? cont? www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 33 output impedance line-out hp-out mono-out - - - 200 6 500 - - - ? ? ? amplifier maximum output power @20 ? load - - 50 mw power supply current va=5.0v va=3.3v vd=3.3v - - - 50 36 26 - - - ma ma ma power down current va=5.0v / 3.3v vd=3.3v - - - - 1000 700 ua ua vrefout/vrefout2/vrefout3 - 2.50 4.0 v vrefout drive current - 8 - ma www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 34 9. design suggestions 9.1 clocking the clock source is decided by xtlsel and id0# latched from pin-46/45 when power-on reset and ac97_reset# trailing edge. the clock source of different configuration is listed below: configuration operation & id0 pin-46(xtlsel) / 45(id0#) id0 bit-clk clock source nc / nc 0 (primary) output 12.288mhz crystal or ext. 24.576mhz is attached at xtl-in low / nc 0 (primary) output 12.288mhz crystal or ext. 14.318mhz is attached at xtl-in nc / nc 0 (primary) input 12.288m input at bit-clk n x / low 1 (secondary) input 12.288m input at bit-clk low / low 11 (secondary) input 12.288m input at bit-clk o *low: pulled low by a 0 ohm resistor. nc: not connected or pulled high. x: don?t care **pin-46 and pin-45 are internally pulled high by weak resistors. n according to ac?97 ver 2.3, the primary mode while reset# is asserted, if a clock is present at bit-clk pin for at least 5 cycles before reset# is de-asserted, ALC203 is a consum er of bitclk. ALC203 should use external 12.288mhz bitclk as its clock source. o standard secondary mode, al c203 receive external 12.288mhz clock from bit-clk pin. ALC203 e version and later versions do not support secondary mode as pin-45 is re-defined as jack-detect pin 0 (jd0) for auto mic jack sensing. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 35 9.2 ac-link when the ALC203 receives serial data from the ac97 controller, it samples sdat a_out on the falling edge of bit_clk. when the ALC203 sends serial data to the ac97 controller, it starts to drive sdata_in on the rising edge of bit_clk. the ALC203 will return any uninstalled bits or registers with 0 for read operations. th e ALC203 also stuffs the unimplemented slot or bit with 0 in sdata_in. note that ac-link is msb-justified. refer to ?audio codec ?97 component specification revision 2.1/2.2/2.3? for details. 0 1 2 3 4 5 6 7 8 9 10 11 12 tag cmd data pcm l pcmr spdif l spdif r tag add r data pcm l pcmr default ALC203 slot arrangement ? codec id = 00 0 1 2 3 4 5 6 7 8 9 10 11 12 tag cmd data spdif l pcm l pcmr spdif r tag add r data pcm l pcmr default ALC203 slot arrangement ? codec id = 01,10 0 1 2 3 4 5 6 7 8 9 10 11 12 tag cmd data pcm l pcmr spdif l spdif l tag add r data pcm l pcmr default ALC203 slot arrangement ? codec id = 11 slot# s ync sdata-out sdata-in slot# s ync sdata-out sdata-in slot# s ync sdata-out sdata-in www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 36 9.3 reset there are 3 types of reset operations: cold, register, and warm. reset type trigger condition codec response cold assert reset# for a specified period reset all hardware logic and all registers to its default value. register write register indexed 00h reset all registers to its default value. warm driven sync high for specified period without bit_clk reactivates ac-link, no cha nge to register values. the ac97 controller should drive sync and sdata_out low duri ng the period of reset# assertion to guarantee that the ALC203 has reset successfully. 9.4 cd input it is important to pay attention to differential cd input. below is an example of differential cd input. example of differential cd input 9.5 odd addressed register access the ALC203 will return ?0000h? when odd-addre ssed and unimplemented registers are read. 9.6 power-down mode it is important to pay special attention to the power down control register (index 26h), especially pr4 (powerdown ac-link). 9.7 test mode to provide compatibility with ac?97 rev2.2, the ALC203 will float its digital output pi ns in both ate and vendor-specific test modes. please refer to ac?97 rev2.2 section 9.2 for a detailed description of the test modes. 9.7.1 ate in circuit test mode sdata_out is sampled high at the trailing edge of reset# . in this mode, the ALC203 will drive bit_clk, sdata_in, eapd and spdifo to high impedance. 9.7.2 vendor specific test mode the vendor specific test mode is no longer supported. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 37 9.8 jack-detect function & assignment for jack jd (jack-detect) is an internal, pulled high input pin used to decide if line_out should be auto muted. if jde (jack detect enable) is set and ALC203 detects the jd is floating or pull high (jds=1), the ALC203 will disable the analog output of line_out even when the mx02 is not muted. the first figure below shows an example of jack detect which can implement this function. if no audio plug is inserted in hp_out jack, jd is detected as low, and line output is norma l. if an audio plug is inserted, the ALC203 disables the line output, , s/pdif output, mono_out, hp_out. this is useful fo r some pc applications, such as notebook and home based computers. if a headphone output jack is not implemente d and hp_out is kept as floating, once jde is enabled, line_out will be muted unless jd is pulled low by a 10k ? resistor (see second figure below). to resolve this, the jack-detect mute line_out function is disabled after power up (default jde is 0). this makes the ALC203 compatible with other ac?97 devices. therefore, it is the responsibility of software to enable this function if headphone jack detection is implemented. example of a jack detect circuit jd is pulled low by a 10k ? resistor jd hp-out-r hp-out-l 4.7k hp-out 5 4 3 2 1 + 3.3u 4.7k 4.7k + +100uf + +100uf hp-out-r hp-out-l jd 10k if hp-out jack is not implemented, jd must be pulled low to prevent jds is set www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 38 the figure below shows another simple way to implement the jack detect function without using the jd pin of the ALC203. it is a good circuit for motherboard makers, as it is only a layout issue and no extra components are needed. once the hp_out jack is plugged in, output signals to line_out will be isolated , and no signals will be output to the line_out jack. the only drawback to this plan is that software will not sense that the hp_out jack is plugged in. it may be inconvenient for software to pay attention to this special application. hp-out-r hp-out-l hp-out 1 2 3 4 5 + +100uf + +100uf line-out 1 2 3 4 5 a simple way to implement jack-detect function without using alc202's jd pin implementing the jack-detect function without using the jd pin *to accommodate driver and hardware design, the following jack-detect pin assignment is recommended. for ALC203 d version: pin 17(jd1) = for uaj1 (hp-out) pin 16(jd2) = for uaj2 (aux) no pin for mic-in pin 43(gpio0) = for hp-out or line-out pin 44(gpio1) = for line-in for ALC203 e and later versions: pin 17(jd1) = for uaj1 (hp-out) pin 16(jd2) = for uaj2 (aux) pin 45(jd0) = for mic-in pin 43(gpio0) = for hp-out or line-out pin 44(gpio1) = for line-in www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 39 9.9 dc voltage volume control the ALC203 has a 32-step internal volume control that is controlled by the dc voltage applied to the ?dc vol? pin (pin-33). the volume control input range is from gnd to avdd. a low-speed c ounter ramp adc transmits the dc voltage into a 5-bit volume code to attenuate the master volume (real mx02), headphone volume (real mx04) and mono-out volume (real mx06). a higher dc voltage means more attenuation related to output volume. the table below shows the relation between input dc voltage and the 5-bit volume code. input dc voltage volume code note input dc voltage volume code note 95%=< dc 1f dcmute=1 47%< dc <= 50% f 92%< dc <= 95% 1e dcmute=0 44%< dc <= 47% e 89%< dc <= 92% 1d 41%< dc <= 44% d 86%< dc <= 89% 1c 38%< dc <= 41% c 83%< dc <= 86% 1b 35%< dc <= 38% b 80%< dc <= 83% 1a 32%< dc <= 35% a 77%< dc <= 80% 19 29%< dc <= 32% 9 74%< dc <= 77% 18 26%< dc <= 29% 8 71%< dc <= 74% 17 23%< dc <= 26% 7 68%< dc <= 71% 16 20%< dc <= 23% 6 65%< dc <= 68% 15 17%< dc <= 20% 5 62%< dc <= 65% 14 14%< dc <= 17% 4 59%< dc <= 62% 13 11%< dc <= 14% 3 56%< dc <= 59% 12 8%< dc <= 11% 2 53%< dc <= 56% 11 5%< dc <= 8% 1 50%< dc <= 53% 10 dc <= 5% 0 dcmute=0 input dc voltage is ratio of avdd (+5va). ? this 5-bit volume code adds extra attenuation for master volume and headphone volume, the absolute maximum volume is determined by mx02, mx04 and mx06. once the sum of mx value and volume code exceeds 3fh, the real mx value is 3fh. example 1: (normal case) mx02=0002h, mx04=0300h, mx06=0001h, volume code=2h, then master volume=0204h, headphone volume=0502h, mono-out=0003h example 2: (the sum exceeds 3fh for mx02/mx04, 1fh for mx06) mx02=2f2fh, mx04=2e2eh, mx06=0002h, volume code=1eh, then master volume=3f3fh, real headphone volume=3d3dh, mono-out=001fh example 3: (volume code is 1fh, dcmute=1, real mxs should be muted) mx02=0000h, mx04=2020h, mx06=0010h, volume code=1fh, then master volume=9f1fh, headphone volume=bf3fh, mono-out=801fh www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 40 9.10 power off cd function the ?power off cd? function describes a state where, after the system has been shut down and a +5v analog power is supplied at vaux(pin-34), the ALC203 will turn on the cd-in op and output amplifier. it is possi ble to design a system which will save op-amp circuitry and bypass cd output directly to the speaker. the figure below indicates the system application circuitry to support the ?power off cd? function. the operation mode is defined by +3.3vcc and +5vaux. +3.3vcc +5vaux operation mode no (0) no (0) shut down no (0) yes (1) power off cd yes (1) no (0) normal (+5vaudio must be on) yes (1) yes (1) normal (+5vaudio must be on) +3.3vdd +5va +5vstandby d2 1n5817m/cyl d1 1n5817m/cyl 1u 0.1u 0.1u + 10u + 10u 0 0 1u u3 ALC203 1 9 25 38 4 7 26 42 2 3 5 6 8 10 11 12 13 14 15 16 17 18 20 19 21 22 23 24 27 28 29 30 31 32 33 34 35 36 37 39 40 41 43 44 45 46 47 48 vdd vdd avdd avdd gnd gnd agnd agnd xtl-in xtl-out sdout bitclk sdin sync reset# pc-beep phone aux-l aux-r jd2 jd1 cd-l cd-r cd-gnd mic1 mic2 line-l line-r vref vrefout afilt1 afilt2 vrad vrda vrefout2/dcvol vaux lineout-l lineout-r mono-out/vrefout3 hpout-l nc hpout-r gpio0 gpio1 id0# xtlsel spdifi/eapd spdifo 1u 0 1 2 3 4 power off cd circuitry www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 41 9.11 gpio smart volume control a 5-bit volume code is controlled by gpio0 (volume up) and gpio1 (volume down) when smart gpio volume control is selected. the single step and consecutive step (0.11sec/step) of volume control (up, down and mute) can be implemented by gpio0 and gpio1. +3.3vcc +3.3vcc +3.3vcc vol down mute vol up 4.7k vol up 1 2 vol down 1 2 vol mute 1 2 4.7k 50k 50k vth=1/3 vcc 3 2 vth=2/3 vcc 3 2 gpio0 gpio1 a b +3.3v 1.65v 0v 1 1 0 1 0 0 a b gpio1 signal vol down vol down mute external circuitry ALC203 external circuits for volume up/down/mute www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 42 10. application circuit the application circuit is for design reference only. system desi gners are suggested to visit realtek?s web site to download th e latest application circuits. to get the best compatibility in hardware design and software driver, any modifications of applica tion circuits should be confirmed by realtek. filter connection schematic +3.3vdd +5va +5vaux +3.3vdd +5va +3.3vdd ac97-sdout ac97-sdin ac97-reset# audio-from-modem ext 14.318mhz ac97-sync ac97-bclk signal-from-pcspk line-out-l mic1-in line-in-r mic2-in line-out-r line-in-l hp-out-l hp-out-r jd1 jd2 gpio1 gpio0 aux-l aux-r gpio0 gpio1 vrefout vrefout2 vrefout3 spdifo spdifi id0#/jd0 c16 1u r41 0@203/250/202/202a r4 0@ext-14.318m + c15 10u vol-mute c30 1u + c37 100u@203/250 vol-down r53 4.7k r54 4.7k j1 aux-in header 1 2 3 4 j2 vedio-in header 1 2 3 4 c17 1u@101/202/202a c13 1u@101/202/202a c67 1u@202/202a c31 1u@202/202a r66 0@203 r65 0@203 c29 1u@202/202a c18 1u@202/202a + c39 100u@203/250 + c1 10u c44 0.1u + c43 10u r34 0@203/250 r35 0@203/250 + c6 10u + c19 10u c20 1u j4 cd-in header 1 2 3 4 + c26 100u y1 24.576mhz vol-up r55 0 + c23 100u u6 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 dvdd1 xtl-in xtl-out dvss1 sdata-out bit-clk dvss2 sdata-in dvdd2 sync reset# pc-beep phone aux-l aux-r jd2 jd1 cd-l cd-gnd cd-r mic1 mic2 line-in-l line-in-r avdd1 avss1 vref vrefout afilt1 afilt2 nc dcvol vrefout2 vaux line-out-l line-out-r mono-o avdd2 hp-out-l nc hp-out-r avss2 gpio0 gpio1 id0#/jd0 xtlsel spdifi/eapd spdifo c12a1 1u c45 22p c46 22p c41 1u r56 0 c5 1u c12 1u r3 0 r1 0 r12b1 10k r12a1 1k r8 0@ext-14.318m r7 0 r2 0 c12b1 100p c14 1000p c28 1u c21 1u c10 1000p r55@203/250 6.8k~8.2k c25 1u c24 1u c22 1u c27 1u r64 100k@203 r63 100k@203 c50 22p r10 22 r9 22 c42 0.1u agnd tied at one point only under the codec or near the codec dgnd gpio volume control for ALC203 for ALC203 pin43=gpio0 / jd_line-out pin44=gpio1 / jd_line-in pin45=id0# crystal saving: r8,r4=0; y1,c45,c46=x (ext-14.288mhz clock) r8,r4=x; y1=24.576m, c45,c46=22p (24.576mhz crystal) ALC203/250/101/202/202a arrangement of jack detection pin reserved for mic sensing accuracy for 203(e) / 250, r55= x for 203(d), r55=6.8k~8.2k (no jack detection function) spilt by dgnd www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 43 mic1-in line-out-l / aud-ret-r mic2-in line-in-l line-in-r line-out-r / aud-ret-l jd0 gpio1 gpio0 vrefout r12 2.2k j7 microphone input 1 2 3 4 5 c56 100p r20 0 r17 0 r15 0@203/250 j10 line input 1 2 3 4 5 r21 0 c55 100p c73 3.3u r23 22k r45 10k c52 100p c53 100p l13 ferb l15 ferb r22 22k r57 22k r13 4.7k@203/250 j13 line out 1 2 3 4 5 c61 100p c60 100p r56 10k c72 3.3u r42 10k c74 3.3u r58 22k l10 ferb l8 ferb l9 ferb r59 22k r60 22k l11 ferb support stereo mic(ALC203 and alc250) r15=0, r13=4.7k, r12=4.7k r15=x, r13=x, r12=2.2k support mono mic(ALC203 and alc250) jd0 block gpio1 jd block gpio0 jd block reserve for automatic jack sensing only for automatic jack sensing only for automatic jack sensing only i/o connection schematic onboard header and reference front panel i/o schematic +5va +5va +5va +5va +5va aud-mic hp-out-r / aud-out-r hp-out-l / aud-out-l aud-ret-r aud-ret-l aud-mic aud-mic-bias aud-ret-l aud-ret-r aud-out-r aud-out-l audio-ret-r audio-ret-l jd1 / front-jack1-on hp-out-l / uaj2-io-l hp-out-r / uaj1-io-r mic2-in hp-out-l aux-l jd1 hp-out-r jd2 aud-ret-l aux-r aud-ret-r uaj2-io-l audio-ret-l vrefout3-uaj1 uaj2-io-r audio-ret-r vrefout2-uaj2 jd1-uaj1 jd2-uaj2 uaj1-io-r uaj1-io-l jd2 / front-jack2-on vrefout3-uaj1 line-out-r line-out-l vrefout3 vrefout2 aux-l / uaj2-io-l vrefout2-uaj aux-r / uaj2-io-r r47 20@203/250 r26 1k r28 20@203/250/202 r27 10k r29 20@203/250/202 r48 20@203/250 + c66 3.3u l16 ferb j11 onboard header for front pannel 1 3 5 7 9 11 13 15 2 4 6 8 10 12 14 16 r32 10k l17 ferb j15 front panel uaj1 1 2 3 4 5 c62 100p c63 100p + c64 220u + c65 220u r31 22k r62 20@202a/101 r61 20@202a/101 c57 1u j14 front panel connector 1 3 5 7 9 2 4 6 8 10 j14 front panel header 1 3 5 7 9 11 13 15 2 4 6 8 10 12 14 16 r50 10k + c71 3.3u j12 front panel uaj2 1 2 3 4 5 l19 ferb l18 ferb d4 1n4148 c59 100p c58 100p d5 1n4148 r51 22k r25 4.7k l17 ferb l16 ferb l14 ferb j15 front panel headphone out 1 2 3 4 5 r24 4.7k c62 100p c63 100p c59 100p j12 front panel mic in 1 2 3 4 5 l12 ferb c58 100p realtek front panel i/o for uaj key standard front panel i/o for alc250 with uaj function d4,d5=1n4148 d4,d5=0 for alc250 with uaj function (intel front panel i/o design guide v1.0) standard front panel key universal audio jack(uaj) front panel for ALC203 and alc250 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 44 +5vdd +3.3vdd +3.3vdd +5vdd +5vdd +5vdd spdif-in +3.3vdd spdif-out agnd dgnd spdif-in +5vdd spdif-in +5vdd spdif-in +3.3vdd spdif-out dgnd agnd spdif-out dgnd agnd dgnd agnd j9 s/pdif input 1 2 c51 0.01u r19 100k r16 100k r18 10 u5 torx178 3 2 1 4 5 vcc dgnd out case case l7 47uh c47 0.1u r11 10 + c33 10u c34 0.1u j8 header for back panel bracket 1 3 5 7 9 2 4 6 8 10 c40 100p + c35 10u c36 0.1u c54 100p u3 totx178 3 2 1 4 5 in vcc gnd n.c n.c c32 0.1u r6 220 j6 s/pdif output 1 2 r5 100 c38 0.01u c48 0.1u r14 2.2k l6 47uh u4 torx176/173 4 3 2 1 5 6 agnd vcc dgnd out case case j2 bracket connector 1 3 5 7 9 2 4 6 8 10 c49 0.01u optical receiver optical receiver torx178/179 can be used without connecting rca torx176/173 with atc control is recommended back panel bracket for s/pdif i/o optical transmitter (coaxial) onboard header and reference back panel schematic for s/pdif i/o www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 45 11. mechanical dimensions millimeter inch symbol min. typical max. min. typical max a 1.60 0.063 a1 0.05 0.15 0.002 0.006 a2 1.35 1.40 1.45 0.053 0.055 0.057 c 0.09 0.20 0.004 0.008 d 9.00 bsc 0.354 bsc d1 7.00 bsc 0.276 bsc d2 5.50 0.217 e 9.00 bsc 0.354 bsc e1 7.00bsc 0.276 bsc e2 5.50 0.217 b 0.17 0.20 0.27 0.007 0.008 0.011 e 0.50 bsc 0.016 bsc th 0 o 3.5 o 7 o 0 o 3.5 o 7 o l 0.45 0.60 0.75 0.018 0.0236 0.030 l1 1.00 0.0393 title: lqfp-48 (7.0x7.0x1.6mm) package outline drawing, footprint 2.0mm leadframe material doc. no. approve version 02 dwg no. pkgc-065 check date realtek semiconductor corp. l1 l www.datasheet.co.kr datasheet pdf - http://www..net/
ALC203 datasheet two-channel ac?97 2.3 audio codec rev1.6 48 12. ordering information part number package status ALC203 standard product. lqfp-48 ALC203-lf ALC203 with lead (pb)-free lqfp-48 package note 1: see page 4 for lead (pb)-f ree package and version identification. note 2: above parts are tested under avdd =5.0v. if customers have a lower avdd request, please contact realtek sales representatives or agents. realtek semiconductor corp. headquarters no. 2, innovation road ii hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-577-6047 www.realtek.com.tw www.datasheet.co.kr datasheet pdf - http://www..net/


▲Up To Search▲   

 
Price & Availability of ALC203

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X